package com.ys.service.finance;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.ys.vo.R;

public interface TcwWanliOtherPaymentService {

	R add(String bid, String depositPlatformCode, Integer payType, String countryCode, String currencyCodeOut, BigDecimal exchangeRate, String remark, BigDecimal amountTotalLocal, BigDecimal amountTotalCny,
			String detailArr, Long menuId) throws Exception;

	R edit(String bid, String depositPlatformCode, Integer payType, String countryCode, String currencyCodeOut, BigDecimal exchangeRate, String remark, BigDecimal amountTotalLocal, BigDecimal amountTotalCny,
			String detailArr, Long menuId) throws Exception;
	
	R deleteTrue(Long id) throws Exception;
	
	R flowPass(String bid, String loginUserId) throws Exception;
	
	R flowRefuse(String bid, String reason, String loginUserId) throws Exception;
	
	R flowInit(String bid, String reason, String loginUserId) throws Exception;
	
	void flowFinish(String bid) throws Exception;

	R batchEditExchangeRate(BigDecimal exchangeRate, String detailArr) throws Exception;
	
	R generateRunning(String bid) throws Exception;

	//获取列表数据
	Map<String,Object> getExtraParam(String bid) throws Exception;

	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;


}
